takePicture
open fun takePicture(callback: ImageCaptureCallback, stopCameraAfterPicture: Boolean = true): Boolean
Stop the real-time border detection and capture the image. The provided callback is invoked on the main thread.
Return
false if a picture is already being taken, true otherwise
Parameters
callback
used to notify capture success or failure
stopCameraAfterPicture
if true, the camera stops after the capture.